package enums;

import common.enums.OrderByTypeThirdEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author xiongyx
 * @date 2019/10/25
 */
@Getter
@AllArgsConstructor
public enum OrderByTypeEnum implements CommonStringEnum {

    /**
     * order by 排序方式
     * */
    ASC(OrderByTypeThirdEnum.ASC.getCode(),OrderByTypeThirdEnum.ASC.getMessage()),
    DESC(OrderByTypeThirdEnum.DESC.getCode(),OrderByTypeThirdEnum.DESC.getMessage()),
    ;

    private String code;
    private String message;
}
